package com.ccsoft.annoreflect.service;

import java.lang.reflect.InvocationTargetException;
import java.sql.SQLException;
import java.util.List;

/**
 * @author chanchaw
 * @create 2022-09-23 15:27
 */
public interface BaseService<T> {
    List<T> queryList(Object obj) throws InvocationTargetException, IllegalAccessException, SQLException, InstantiationException;
    int update(Object obj) throws InvocationTargetException, IllegalAccessException, NoSuchMethodException, SQLException;
    int delete(Object obj) throws SQLException, InvocationTargetException, IllegalAccessException, NoSuchMethodException;
}
